package com.bd.lrb_q.mapper;


import com.bd.lrb_q.entity.Product;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ProductMapping {

    @Insert("insert into product values(null,#{title},#{author},#{intro},#{url}," +
            "0,0,#{created},#{categoryId})")
    void insert(Product product);





}
